/*
 * @Author: your name
 * @Date: 2021-10-18 10:24:53
 * @LastEditTime: 2021-11-09 16:53:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jingfeng-web\src\setting.js
 */
export default {
    // 快捷键
    // 支持快捷键 例如 ctrl+shift+s
    hotkey: {
        search: {
            open: 's',
            close: 'esc'
        }
    },
    // 侧边栏默认配置
    menu: {
        asideCollapse: false,
        asideTransition: true
    },
    // 在读取持久化数据失败时默认页面
    page: {
        opened: [
            {
                name: 'myWait',
                fullPath: '/myWait',
                meta: {
                    title: '我的待办',
                    auth: false
                }
            }
        ]
    },
    // 菜单搜索
    search: {
        enable: true
    },
    // 注册的主题
    theme: {
        list: [
            {
                title: 'jfAdmin 经典',
                name: 'd2',
                preview: 'image/theme/d2/preview@2x.png'
            },
            {
                title: 'Chester',
                name: 'chester',
                preview: 'image/theme/chester/preview@2x.png'
            },
            {
                title: 'Element',
                name: 'element',
                preview: 'image/theme/element/preview@2x.png'
            },
            {
                title: '紫罗兰',
                name: 'violet',
                preview: 'image/theme/violet/preview@2x.png'
            },
            {
                title: '简约线条',
                name: 'line',
                backgroundImage: 'image/theme/line/bg.jpg',
                preview: 'image/theme/line/preview@2x.png'
            },
            {
                title: '流星',
                name: 'star',
                backgroundImage: 'image/theme/star/bg.jpg',
                preview: 'image/theme/star/preview@2x.png'
            },
            {
                title: 'Tomorrow Night Blue (vsCode)',
                name: 'tomorrow-night-blue',
                preview: 'image/theme/tomorrow-night-blue/preview@2x.png'
            }
        ]
    },
    // 是否默认开启页面切换动画
    transition: {
        active: true
    },
    title: 'Vue Element Admin',

    /**
   * @type {boolean} true | false
   * @description Whether show the settings right-panel
   */
    showSettings: true,

    /**
   * @type {boolean} true | false
   * @description Whether need tagsView
   */
    tagsView: true,

    /**
   * @type {boolean} true | false
   * @description Whether fix the header
   */
    fixedHeader: false,

    /**
   * @type {boolean} true | false
   * @description Whether show the logo in sidebar
   */
    sidebarLogo: false,

    /**
   * @type {string | array} 'production' | ['production', 'development']
   * @description Need show err logs component.
   * The default is only used in the production env
   * If you want to also use it in dev, you can pass ['production', 'development']
   */
    errorLog: 'production'
}
